﻿// See https://aka.ms/new-console-template for more information
using Dapr.Client;



var appId = "assignment-server";

var client = new DaprClientBuilder()
    .UseHttpEndpoint("http://119.29.109.166:41599")
    .Build();

//await client.InvokeMethodAsync(appId, "/");

var resp = await client.InvokeMethodAsync<string>(HttpMethod.Get, appId, "Hello1");
Console.WriteLine($"Hello1 Response: {resp}");

await client.InvokeMethodAsync(appId, "Hello2");

await client.InvokeMethodAsync(appId, "Hello3");


Console.ReadKey();